using System;
using System.Collections.Generic;

namespace Inventory.Domain.Models
{
    public class Person
    {
        public Person()
        {
            this.MovieCharacters = new List<MovieCharacter>();
            this.PersonsProfessions = new List<PersonsProfession>();
        }

        public int Id { get; set; }
        public string FirstName { get; set; }
        public string MiddleName { get; set; }
        public string LastName { get; set; }
        public Nullable<System.DateTime> DateOfBirth { get; set; }
        public int GenderId { get; set; }
        public virtual Gender Gender { get; set; }
        public virtual ICollection<MovieCharacter> MovieCharacters { get; set; }
        public virtual ICollection<PersonsProfession> PersonsProfessions { get; set; }
    }
}
